package com.gnerv.sylvanas.authentication.security.service;

import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

/**
 * @author Gnerv LiGen
 */
public interface UriAuthorityService {

    String selectAuthority(String uri, String type);

    boolean verify(Collection<? extends GrantedAuthority> authorities, String authority);

}
